﻿using System;
using System.Windows.Forms;
using DAL;
 
namespace WinDeal
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        protected override void OnLoad(EventArgs e)
        {
            dgv1.DataSource = MySqlHelper.Instance.GetTable("select * from deal");
            dgv2.DataSource = MySqlHelper.Instance.GetTable("select * from users");
        }
    }
}
